#
# Criado em 25/10/2006
# pabloalr
#

CC		:= gcc
CFLAGS 	:= -W -Wall -pipe -g -DVERBOSE #-DDEBUG_QUEUE
BIN		:= simes

OBJ		:= stack.o queue.o simes.o

# Alvos...
all:	$(OBJ)
		$(CC) -o $(BIN) $(OBJ)

clean:	
		rm -f *.o
		rm simes

distclean: clean
		rm -f $(BIN)

style:
		astyle *.c *.h --style=kr --indent=tab=4
		rm *.orig

# Pre-requisitos
#main.o: parser.h main.c
simes.o: simes.c simes.h queue.h 
queue.o: queue.c queue.h
stack.o: stack.c stack.h

# Alvos nao compilaveis
.PHONY:	all clean distclean Makefile
